package com.btpj.shop.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * goods 商品
 *
 * @author BTPJ
 */
@ApiModel("商品接口数据封装")
@Data
public class GoodsDto implements Serializable {
    @ApiModelProperty("Id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("商品简介描述")
    private String description;

    @ApiModelProperty("商品分类ID")
    private Long categoryId;

    @ApiModelProperty("商品图片")
    private String imageUrl;

    @ApiModelProperty("详细内容")
    private String detailContent;

    @ApiModelProperty("原始价格(分)")
    private Long originalPrice;

    @ApiModelProperty("实际售价(分)")
    private Long sellingPrice;

    @ApiModelProperty("库存数量")
    private Integer stockNum;

    @ApiModelProperty("商品介绍关键词")
    private String keywords;

    @ApiModelProperty("上架状态（0:上架 1:下架）")
    private Byte sellStatusName;

    private static final long serialVersionUID = 1L;
}